package org.grottarossa.ui.core.controls.searchuser;

import org.grottarossa.template.data.pojo.users.User;


/***
 * Rappresenta i dati notificati ai listener al momento di una selezione di utente/ruolo
 * @author Administrator
 *
 */
public class SearchUserEvent
{
	private final boolean isUser;
	private final String selected;
	private final User user;

	public SearchUserEvent(boolean isUser, String selected, User user)
	{
		this.isUser = isUser;
		this.selected = selected;
		this.user = user;
	}

	public boolean isUser()
	{
		return isUser;
	}

	public String getSelected()
	{
		return selected;
	}

	public User getUser() {
		return user;
	}
}
